home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
iconmenu.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
1KB
|
35 lines
#ifndef __ICON_MENU_H_
#define __ICON_MENU_H_
#include "choicebx.h"
class IconMenu : public ChoiceBox
{
protected:
int itemType;
public:
IconMenu(rect coordinates, char* fName = "", char* h = "",
char* HOT = NULL, int POS = 1, int START = 1,
int ITEMTYPE = SMALL_ICON,
int* ITEMLIST = NULL, loc ITEMDISTANCE = loc(1, 0),
rect STATUSPOS = rect(0, 0, 79, 25),
int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
int* STATUSLIST = NULL,
int res = FIXED, int s = 0, BORDERS b_type = SHOW_BORDER,
BORDERS hdr_b_type = SHOW_BORDER, int pat = 0,
int hdr_pat = 0)
: ChoiceBox(coordinates, fName, h, HOT, POS, START,
loc(1, 1), NULL, ITEMLIST, ITEMDISTANCE,
STATUSPOS, STATUSTYPE, STATUSSTRINGS, STATUSLIST,
res, s, b_type, hdr_b_type, pat, hdr_pat)
{
itemType = ITEMTYPE;
calcConsts();
}
virtual void calcItemsNumber();
virtual void showItem();
virtual void show();
};
#endif __ICON_MENU_H_